package com.phiture.erp.basic.web.convert;

import com.phiture.erp.basic.api.pojo.resp.ErpCustomerResp;
import com.phiture.erp.basic.dal.entity.ErpCustomerDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author YH
 * @date 2025/4/8
 */

@Mapper
public interface ErpCustomerConvertMapper {
    ErpCustomerConvertMapper INSTANCE = Mappers.getMapper(ErpCustomerConvertMapper.class);
    ErpCustomerResp toErpCustomerResp(ErpCustomerDO erpCustomerDO);
    List<ErpCustomerResp> toErpCustomerRespList(List<ErpCustomerDO> erpCustomerDOList);
}
